#ifndef CLIENTLIST_H
#define CLIENTLIST_H
#include <pthread.h>


struct clientfds
{
	char ipaddr[16];
	int fd;
	int count;
	pthread_t pid;
	struct clientfds  *next;
};

struct clientfds *create_clientfds(void);
struct clientfds *insert(struct clientfds *head,struct clientfds data);
int delete_by_fd(struct clientfds *head,int fd);
void free_clientfds(struct clientfds *head);


#endif

